# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=ps_mem
pkgver=3.13
pkgrel=0
pkgdesc="A utility to report core memory usage per program"
url="https://github.com/pixelb/ps_mem"
arch="noarch"
license="LGPL-2.1-or-later"
depends="python3"
subpackages="$pkgname-doc"
options="!check" # no test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/pixelb/ps_mem/archive/v$pkgver.tar.gz
	python3.patch"

package() {
	install -Dm644 ps_mem.1  "$pkgdir"/usr/share/man/man1/$pkgname.1
	install -Dm755 ps_mem.py "$pkgdir"/usr/bin/$pkgname
}

sha512sums="b8d7ceacbef953aa8e06939c40e728fb728a566288fa649fe4a95d58b8874da4dcdcea1cfd74365b00fac468b0e383a916262d6646269696e54bc8c8e71aa566  ps_mem-3.13.tar.gz
6ff81ae897c0b9049f7d7af59d120e95ef0db508a578c29603f32681f5f87dac17952124aefe1a0d8ffe6f128235ed619e87becd42e2a84e1e06d51def40f957  python3.patch"
